<template>
	<view class="soucang" @click="jump(id)">
		<view class="left">
			<view class="img" v-for="item in subscribers" :key="item.userId">
				<image :src="item.avatarUrl"></image>
			</view>
		</view>
		<view class="right">
			<text>1234人收藏</text>
		</view>
	</view>
</template>

<script>
	export default {
		props:['subscribers','id'],
		data() {
			return {
				
			}
		},
		methods:{
			jump(id){
				uni.navigateTo({
					url:'../../pages/SouCangZhe/SouCangZhe?id=' + id
				})
			}
		}
	}
</script>

<style lang="scss">
	.soucang{
		width: 100%;
		display: flex;
		justify-content: space-between;
		.left{
			width: 60%;
			height: 100rpx;
			//background-color: red;
			display: flex;
			justify-content: space-around;
			align-items: center;
			.img{
				width: 70rpx;
				height: 70rpx;
				//background-color: blue;
				image{
					width: 100%;
					height: 100%;
					border-radius: 100rpx;
				}
			}
		}
		.right{
			width: 40%;
			height: 100rpx;
			//background-color: yellow;
			display: flex;
			align-items: center;
			text{
				margin-left: 80rpx;
			}
		}
	}
</style>
